home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
asezas40.arc
/
SETUP.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-11-16
|
3KB
|
73 lines
echo off
rem *** ASEASYAS Installation Procedure ***
if not %1a==a goto num
cls
echo AS-EASY-AS Installation
echo *
echo **** ERROR - No Disk Specified ****
echo .........................
echo The SETUP command must be followed by a drive letter, and if necessary
echo by a directory name. For example, to install ASEASYAS on a formatted
echo floppy disk, place the ASEASY disk in Drive A, the blank disk in drive
echo B, and use the command
echo SETUP b:
echo To install the program on drive C in a directory named ASEASY, place
echo the ASEASYAS disk in drive A, and use the command
echo SETUP C:\ASEASY
echo :
echo No trailing backslash ......:
echo ---------------------------------------------------------------------
echo Please decide which installation you want to use and try again.
echo ---------------------------------------------------------------------
goto finals
:num
if exist aseasy.EXE goto insprog1
if exist aseasy.com goto oldone
cls
echo AS-EASY-AS Installation
echo *
echo ** Error - ASEASY files not Found **
echo *
echo The ASEASY Files are not on the current logged drive.
ECHO Either place the diskette with the original ASEASY files in the
echo default drive and press Y to continue, or press N to abort
echo the installation process !!!
echo *
yesno Continue
if not errorlevel=1 goto fin1
:insprog1
if not exist aseasy.EXE goto num
if not exist setup.bat goto num
copy setup.bat %1\setup.bat >nul
if not exist %1\setup.bat goto isnotdir
cls
echo AS-EASY-AS Installation
echo *
echo Copying the ASEASY Files
copy *.* %1\*.* >nul
goto finals
:fin1
echo *******************************************************
echo ***** Abnormal Termination - Working Copy might be incomplete ******
echo *******************************************************
goto finals
:isnotdir
echo AS-EASY-AS Installation
echo *
echo Sub-Directory -- %1
echo The specified sub-directory DOES NOT exist.
echo Please create it or use a different sub-directory.
echo (Remember! No Trailing Backslash)
echo *
goto finals
:oldone
echo **** Incorrect SETUP version, this is for AS-EASY-AS Ver. 4.0 ****
goto finals
:fin
echo *******************************************************
echo ***** Normal Termination - Working Copy Complete ******
echo *******************************************************
:finals